package com.better.common.mq;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaq
 * @create 2017-09-06 17:01
 **/
@RestController
@RequestMapping("/sendMq")
public class SendController {

    @Autowired
    private HiSender hiSender;
    @RequestMapping("send")
    public String getuser(){
        hiSender.send();
        return "hisender";
    }
}
